package com.mrart.service;

import java.util.List;
import java.util.Set;

import com.mrart.entity.Resource;

public interface ResourceService {

    Resource selectByPrimaryKey(Long id);

    List<Resource> findAll();

    Set<String> findPermissions(Set<Long> resourceIds);

    List<Resource> findMenus(Set<String> permissions);

}